.class Lcom/example/m6wmr/MainActivity$8;
.super Ljava/lang/Object;
.source "MainActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/MainActivity;->settoparea()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/MainActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/MainActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    .line 695
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 697
    invoke-static {}, Lmyapp/Util;->isFastDoubleClick()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 722
    :goto_0
    return-void

    .line 700
    :cond_0
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    # getter for: Lcom/example/m6wmr/MainActivity;->advls:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/MainActivity;->access$12(Lcom/example/m6wmr/MainActivity;)Ljava/util/List;

    move-result-object v3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v4

    invoke-interface {v3, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/AdvBean;

    .line 701
    .local v0, "bbc":Lbean/AdvBean;
    invoke-virtual {v0}, Lbean/AdvBean;->GetAct()Ljava/lang/String;

    move-result-object v1

    .line 702
    .local v1, "checkAct":Ljava/lang/String;
    const-string v3, "waimai"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 703
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 704
    .local v2, "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/m6wmr/WaimaiActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 705
    const-string v3, "address"

    iget-object v4, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    iget-object v4, v4, Lcom/example/m6wmr/MainActivity;->address:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 706
    const-string v3, "sendid"

    invoke-virtual {v0}, Lbean/AdvBean;->GetParam()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 707
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 708
    .end local v2    # "intent":Landroid/content/Intent;
    :cond_1
    const-string v3, "market"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 709
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 710
    .restart local v2    # "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/m6wmr/MarketActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 711
    const-string v3, "address"

    iget-object v4, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    iget-object v4, v4, Lcom/example/m6wmr/MainActivity;->address:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 712
    const-string v3, "sendid"

    invoke-virtual {v0}, Lbean/AdvBean;->GetParam()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 713
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 715
    .end local v2    # "intent":Landroid/content/Intent;
    :cond_2
    new-instance v2, Landroid/content/Intent;

    invoke-direct {v2}, Landroid/content/Intent;-><init>()V

    .line 716
    .restart local v2    # "intent":Landroid/content/Intent;
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    const-class v4, Lcom/example/m6wmr/LifelistActivity;

    invoke-virtual {v2, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 717
    const-string v3, "\u751f\u6d3b\u670d\u52a1"

    new-instance v4, Ljava/lang/StringBuilder;

    const-string v5, "\u63a7\u5236\u5668\u540d\u79f0ID"

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Lbean/AdvBean;->GetParam()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 718
    iget-object v3, p0, Lcom/example/m6wmr/MainActivity$8;->this$0:Lcom/example/m6wmr/MainActivity;

    invoke-virtual {v3, v2}, Lcom/example/m6wmr/MainActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0
.end method
